.class public Lcom/xingbook/baike/b/a;
.super Lcom/xingbook/b/n;


# instance fields
.field private a:Z

.field private b:Lcom/xingbook/baike/b/b;

.field private c:Lcom/xingbook/group/a/h;

.field private d:Lcom/xingbook/group/a/h;

.field private e:Lcom/xingbook/b/k;

.field private f:Ljava/util/ArrayList;

.field private g:Lcom/xingbook/b/k;

.field private h:Ljava/util/ArrayList;

.field private i:Z


# direct methods
.method public constructor <init>(I)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1}, Lcom/xingbook/b/n;-><init>(I)V

    iput-boolean v1, p0, Lcom/xingbook/baike/b/a;->a:Z

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/baike/b/a;->b:Lcom/xingbook/baike/b/b;

    iput-boolean v1, p0, Lcom/xingbook/baike/b/a;->i:Z

    return-void
.end method


# virtual methods
.method public a(Lcom/xingbook/b/k;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/b/a;->e:Lcom/xingbook/b/k;

    return-void
.end method

.method public a(Lcom/xingbook/baike/b/b;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/b/a;->b:Lcom/xingbook/baike/b/b;

    return-void
.end method

.method public a(Lcom/xingbook/group/a/h;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/b/a;->c:Lcom/xingbook/group/a/h;

    return-void
.end method

.method public a(Ljava/util/ArrayList;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/b/a;->f:Ljava/util/ArrayList;

    return-void
.end method

.method public a(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/baike/b/a;->a:Z

    return-void
.end method

.method public a()Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/baike/b/a;->a:Z

    return v0
.end method

.method public b()Lcom/xingbook/baike/b/b;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->b:Lcom/xingbook/baike/b/b;

    return-object v0
.end method

.method public b(Lcom/xingbook/b/k;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/b/a;->g:Lcom/xingbook/b/k;

    return-void
.end method

.method public b(Lcom/xingbook/group/a/h;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/b/a;->d:Lcom/xingbook/group/a/h;

    return-void
.end method

.method public b(Ljava/util/ArrayList;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/b/a;->h:Ljava/util/ArrayList;

    return-void
.end method

.method public b(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/baike/b/a;->i:Z

    return-void
.end method

.method public c()Lcom/xingbook/group/a/h;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->c:Lcom/xingbook/group/a/h;

    return-object v0
.end method

.method public c(Ljava/lang/String;)V
    .locals 3

    invoke-super {p0, p1}, Lcom/xingbook/b/n;->w(Ljava/lang/String;)V

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    const-string v0, "`"

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    :try_start_0
    new-instance v1, Lcom/xingbook/group/a/h;

    invoke-direct {v1}, Lcom/xingbook/group/a/h;-><init>()V

    const/4 v2, 0x0

    aget-object v2, v0, v2

    invoke-virtual {v1, v2}, Lcom/xingbook/group/a/h;->a(Ljava/lang/String;)V

    invoke-virtual {p0, v1}, Lcom/xingbook/baike/b/a;->a(Lcom/xingbook/group/a/h;)V

    new-instance v1, Lcom/xingbook/group/a/h;

    invoke-direct {v1}, Lcom/xingbook/group/a/h;-><init>()V

    const/4 v2, 0x1

    aget-object v0, v0, v2

    invoke-virtual {v1, v0}, Lcom/xingbook/group/a/h;->a(Ljava/lang/String;)V

    invoke-virtual {p0, v1}, Lcom/xingbook/baike/b/a;->b(Lcom/xingbook/group/a/h;)V
    :try_end_0
    .catch Ljava/lang/ArrayIndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/ArrayIndexOutOfBoundsException;->printStackTrace()V

    goto :goto_0
.end method

.method public d()Lcom/xingbook/service/download/g;
    .locals 1

    const/4 v0, 0x0

    return-object v0
.end method

.method public d(Ljava/lang/String;)V
    .locals 12

    const/4 v11, -0x1

    const/4 v1, 0x0

    invoke-super {p0, p1}, Lcom/xingbook/b/n;->w(Ljava/lang/String;)V

    invoke-virtual {p0, p1}, Lcom/xingbook/baike/b/a;->p(Ljava/lang/String;)V

    if-nez p1, :cond_1

    :cond_0
    return-void

    :cond_1
    const-string v0, "\\$:"

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v4

    array-length v5, v4

    move v3, v1

    :goto_0
    if-ge v3, v5, :cond_0

    aget-object v0, v4, v3

    sget-object v2, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "info:"

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v2, v6}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    const-string v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v2

    if-ne v2, v11, :cond_3

    :cond_2
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_0

    :cond_3
    const-string v2, ":"

    const/4 v6, 0x2

    invoke-virtual {v0, v2, v6}, Ljava/lang/String;->split(Ljava/lang/String;I)[Ljava/lang/String;

    move-result-object v0

    aget-object v2, v0, v1

    invoke-static {v2, v11}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v6

    const/4 v2, 0x1

    aget-object v0, v0, v2

    const-string v2, "@#"

    invoke-virtual {v0, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v7

    const/4 v0, 0x0

    const/16 v2, 0x30

    if-ne v6, v2, :cond_5

    aget-object v2, v7, v1

    if-eqz v2, :cond_9

    const-string v2, ""

    aget-object v8, v7, v1

    invoke-virtual {v2, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_9

    new-instance v2, Lcom/xingbook/b/k;

    invoke-direct {v2, v6}, Lcom/xingbook/b/k;-><init>(I)V

    aget-object v8, v7, v1

    invoke-virtual {v2, v8}, Lcom/xingbook/b/k;->f(Ljava/lang/String;)V

    invoke-virtual {p0, v2}, Lcom/xingbook/baike/b/a;->a(Lcom/xingbook/b/k;)V

    move-object v2, v0

    :goto_1
    if-eqz v2, :cond_2

    array-length v8, v7

    move v0, v1

    :goto_2
    if-ge v0, v8, :cond_2

    aget-object v9, v7, v0

    new-instance v10, Lcom/xingbook/b/k;

    invoke-direct {v10, v6}, Lcom/xingbook/b/k;-><init>(I)V

    if-eqz v10, :cond_4

    invoke-virtual {v10, v9}, Lcom/xingbook/b/k;->f(Ljava/lang/String;)V

    invoke-virtual {v2, v10}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_4
    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_5
    invoke-static {v6}, Lcom/xingbook/c/t;->g(I)I

    move-result v2

    const/16 v8, 0x60

    if-ne v2, v8, :cond_6

    invoke-static {v6}, Lcom/xingbook/c/t;->e(I)Z

    move-result v2

    if-nez v2, :cond_6

    aget-object v2, v7, v1

    if-eqz v2, :cond_9

    const-string v2, ""

    aget-object v8, v7, v1

    invoke-virtual {v2, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_9

    new-instance v2, Lcom/xingbook/b/k;

    invoke-direct {v2, v6}, Lcom/xingbook/b/k;-><init>(I)V

    if-eqz v2, :cond_9

    aget-object v8, v7, v1

    invoke-virtual {v2, v8}, Lcom/xingbook/b/k;->f(Ljava/lang/String;)V

    invoke-virtual {p0, v2}, Lcom/xingbook/baike/b/a;->b(Lcom/xingbook/b/k;)V

    move-object v2, v0

    goto :goto_1

    :cond_6
    const/16 v2, 0xc0

    if-ne v6, v2, :cond_7

    aget-object v2, v7, v1

    if-eqz v2, :cond_9

    const-string v2, ""

    aget-object v8, v7, v1

    invoke-virtual {v2, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_9

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/b/a;->b(Ljava/util/ArrayList;)V

    move-object v2, v0

    goto :goto_1

    :cond_7
    invoke-static {v6}, Lcom/xingbook/c/t;->g(I)I

    move-result v2

    const/16 v8, 0x50

    if-eq v2, v8, :cond_8

    invoke-static {v6}, Lcom/xingbook/c/t;->g(I)I

    move-result v2

    const/16 v8, 0x40

    if-ne v2, v8, :cond_9

    :cond_8
    aget-object v2, v7, v1

    if-eqz v2, :cond_9

    const-string v2, ""

    aget-object v8, v7, v1

    invoke-virtual {v2, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_9

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/b/a;->a(Ljava/util/ArrayList;)V

    move-object v2, v0

    goto/16 :goto_1

    :cond_9
    move-object v2, v0

    goto/16 :goto_1
.end method

.method public e()Lcom/xingbook/group/a/h;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->d:Lcom/xingbook/group/a/h;

    return-object v0
.end method

.method public g()Lcom/xingbook/b/k;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->e:Lcom/xingbook/b/k;

    return-object v0
.end method

.method public h()Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->f:Ljava/util/ArrayList;

    return-object v0
.end method

.method public h(Ljava/lang/String;)V
    .locals 6

    const/4 v0, 0x1

    const/4 v1, 0x0

    new-instance v2, Lcom/xingbook/baike/b/b;

    invoke-direct {v2}, Lcom/xingbook/baike/b/b;-><init>()V

    invoke-virtual {p0, v2}, Lcom/xingbook/baike/b/a;->a(Lcom/xingbook/baike/b/b;)V

    const-string v3, ","

    invoke-virtual {p1, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    :try_start_0
    aget-object v4, v3, v4

    invoke-virtual {v2, v4}, Lcom/xingbook/baike/b/b;->a(Ljava/lang/String;)V

    const/4 v4, 0x1

    aget-object v4, v3, v4

    const/4 v5, 0x5

    invoke-static {v4, v5}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v4

    invoke-virtual {v2, v4}, Lcom/xingbook/baike/b/b;->a(I)V

    const/4 v2, 0x2

    aget-object v2, v3, v2

    const/4 v3, 0x0

    invoke-static {v2, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v2

    if-ne v2, v0, :cond_0

    :goto_0
    invoke-virtual {p0, v0}, Lcom/xingbook/baike/b/a;->a(Z)V
    :try_end_0
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    return-void

    :cond_0
    move v0, v1

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_1
.end method

.method public i()Lcom/xingbook/b/k;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->g:Lcom/xingbook/b/k;

    return-object v0
.end method

.method public i(Ljava/lang/String;)V
    .locals 4

    invoke-super {p0, p1}, Lcom/xingbook/b/n;->w(Ljava/lang/String;)V

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    const-string v0, "`"

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    :try_start_0
    invoke-virtual {p0}, Lcom/xingbook/baike/b/a;->b()Lcom/xingbook/baike/b/b;

    move-result-object v0

    if-nez v0, :cond_1

    new-instance v0, Lcom/xingbook/baike/b/b;

    invoke-direct {v0}, Lcom/xingbook/baike/b/b;-><init>()V

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/b/a;->a(Lcom/xingbook/baike/b/b;)V

    :cond_1
    const/4 v2, 0x0

    aget-object v2, v1, v2

    invoke-virtual {v0, v2}, Lcom/xingbook/baike/b/b;->b(Ljava/lang/String;)V

    const/4 v2, 0x1

    aget-object v2, v1, v2

    invoke-virtual {v0, v2}, Lcom/xingbook/baike/b/b;->a(Ljava/lang/String;)V

    const/4 v2, 0x2

    aget-object v2, v1, v2

    const/4 v3, 0x5

    invoke-static {v2, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v2

    invoke-virtual {v0, v2}, Lcom/xingbook/baike/b/b;->a(I)V

    const/4 v2, 0x3

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Lcom/xingbook/baike/b/b;->c(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/ArrayIndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/ArrayIndexOutOfBoundsException;->printStackTrace()V

    goto :goto_0
.end method

.method public j()Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->h:Ljava/util/ArrayList;

    return-object v0
.end method

.method public k()Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/baike/b/a;->i:Z

    return v0
.end method

.method public l()Z
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->f:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->f:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-gtz v0, :cond_2

    :cond_0
    iget-object v0, p0, Lcom/xingbook/baike/b/a;->g:Lcom/xingbook/b/k;

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->h:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->h:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-gtz v0, :cond_2

    :cond_1
    iget-object v0, p0, Lcom/xingbook/baike/b/a;->e:Lcom/xingbook/b/k;

    if-nez v0, :cond_2

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_2
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public m()Z
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->d:Lcom/xingbook/group/a/h;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->d:Lcom/xingbook/group/a/h;

    invoke-virtual {v0}, Lcom/xingbook/group/a/h;->e()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public n()Z
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->c:Lcom/xingbook/group/a/h;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/baike/b/a;->c:Lcom/xingbook/group/a/h;

    invoke-virtual {v0}, Lcom/xingbook/group/a/h;->e()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public o()Z
    .locals 2

    invoke-virtual {p0}, Lcom/xingbook/baike/b/a;->b()Lcom/xingbook/baike/b/b;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/baike/b/b;->f()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    const-string v1, ""

    invoke-virtual {v0}, Lcom/xingbook/baike/b/b;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public p()V
    .locals 1

    invoke-virtual {p0}, Lcom/xingbook/baike/b/a;->x()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/b/a;->d(I)V

    return-void
.end method

.method public q()V
    .locals 1

    invoke-virtual {p0}, Lcom/xingbook/baike/b/a;->x()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/b/a;->d(I)V

    return-void
.end method

.method public r()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method
